package cn.iocoder.yudao.module.fm.convert.subgrade;

import java.util.*;

import cn.iocoder.yudao.framework.common.pojo.PageResult;

import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;
import cn.iocoder.yudao.module.fm.controller.admin.subgrade.vo.*;
import cn.iocoder.yudao.module.fm.dal.dataobject.subgrade.SubgradeDO;

/**
 * 路基 Convert
 *
 * @author 档案
 */
@Mapper
public interface SubgradeConvert {

    SubgradeConvert INSTANCE = Mappers.getMapper(SubgradeConvert.class);

    SubgradeDO convert(SubgradeCreateReqVO bean);

    SubgradeDO convert(SubgradeUpdateReqVO bean);

    SubgradeRespVO convert(SubgradeDO bean);

    List<SubgradeRespVO> convertList(List<SubgradeDO> list);

    PageResult<SubgradeRespVO> convertPage(PageResult<SubgradeDO> page);

    List<SubgradeExcelVO> convertList02(List<SubgradeDO> list);

}
